package domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 关注类对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Concern {

    private Integer id; //收藏id
    private Integer uid; //用户id
    private Integer focus_uid; //被关注的人的id

    private String headerimg; //关注用户头像
    private String nickname; //关注用户昵称




    public Concern(Integer focus_uid) {
        this.focus_uid = focus_uid;
    }

    public Concern(Integer uid, Integer focus_uid) {
        this.uid = uid;
        this.focus_uid = focus_uid;
    }

    public Concern(String headerimg, String nickname) {
        this.headerimg = headerimg;
        this.nickname = nickname;
    }

    public Concern( Integer focus_uid, String headerimg, String nickname) {
        this.focus_uid = focus_uid;
        this.headerimg = headerimg;
        this.nickname = nickname;
    }
}
